package com.neu.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neu.domain.CheckProject;
import com.neu.domain.User;
import com.neu.mapper.UserMapper;
import com.neu.query.UserQuery;
import com.neu.service.UserService;

//应该交给spring的容器来管理,而不是springMVC容器

@Service("userService")
public class UserServiceImpl implements UserService{

	@Autowired
	private UserMapper userMapper;

	@Override
	public User login(User user) {
		
		return userMapper.login(user);
	}	
	
}